package com.lenovo.lcdm.type.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * @desc 属性文件夹对象传输对象
 *
 * @author xujing30
 * @date 2024-01-11
 */
public class AttributeFolderDTO {

    private Long id;

    private String name;

    private Long parentId;

    private List<GlobalAttributeDTO> globalAttributes = new ArrayList<>();

    List<AttributeFolderDTO> childAttributeFolders;

    private String type = "1";

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<AttributeFolderDTO> getChildAttributeFolders() {
        return childAttributeFolders;
    }

    public void setChildAttributeFolders(List<AttributeFolderDTO> childAttributeFolders) {
        this.childAttributeFolders = childAttributeFolders;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<GlobalAttributeDTO> getGlobalAttributes() {
        return globalAttributes;
    }

    public void setGlobalAttributes(List<GlobalAttributeDTO> globalAttributes) {
        this.globalAttributes = globalAttributes;
    }

    @Override
    public String toString() {
        return "AttributeFolderDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", childAttributeFolders=" + childAttributeFolders +
                ", type='" + type + '\'' +
                '}';
    }
}
